

SRCS= main.cpp
CFLAGS= -Wall -DLINUX
CFLAGS_T= -Wall -DLINUX -I/usr/include/FTGL -I/usr/include/freetype2 -DFREETYPE
LDFLAGS= -lGL -lGLU
LDFLAGS_T= -lGL -lGLU -lfreetype -lz -lftgl
CC= cc

all: no_text with_text

no_text: $(SRCS)
	$(CC) $(SRCS) $(CFLAGS) $(LDFLAGS) -o screensaver_myttc_no_text

with_text: $(SRCS)
	$(CC) $(SRCS) $(CFLAGS_T) $(LDFLAGS_T) -o screensaver_myttc_with_text

